<script setup lang="ts"></script>

<template>
  <div class="glass">
    <div class="inner"></div>
    <slot></slot>
  </div>
</template>

<style scoped>
.glass {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}

.inner {
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(10px);
}
</style>
